package com.appspot.moviesessions;

import android.database.Cursor;
import android.support.v4.widget.SimpleCursorAdapter.ViewBinder;
import android.view.View;
import android.widget.TextView;

public class MovieInfoViewBinder implements ViewBinder {

	@Override
	public boolean setViewValue(View view, Cursor cursor, int colindex) {
		String value = cursor.getString(colindex);
		TextView tv = (TextView) view;
		tv.setText(value);
		return true;
	}
}
